<form method="get" action="{{$action}}">
<input type="text" name="s" value="{{$value|default}}" />
<input type="submit" name="" value="{{$smarty.config.search}}" />
{{if $smarty.server.QUERY_STRING|default}}<a href="{{$action}}">{{$smarty.config.search_reset}}</a>{{/if}}
</form>
